Developer Documentation

QuickTime 4 API Documentation

3D Graphics Programming with QuickDraw 3D 1.5.4

Previous | QD3D Book | Overview | Chapter Contents | Next |

CSG Object IDs

QuickDraw 3D provides constants that you can use to specify an ID for a CSG object. You assign a CSG object ID to an object by including an attribute of type kQ3AttributeTypeConstructiveSolidGeometryID in the object's attribute set. Currently, QuickDraw 3D supports up to five CSG objects per model.

#define kQ3SolidGeometryObjA                        0
#define kQ3SolidGeometryObjB                        1
#define kQ3SolidGeometryObjC                        2
#define kQ3SolidGeometryObjD                        3
#define kQ3SolidGeometryObjE                        4

Constant descriptions

kQ3SolidGeometryObjA
The CSG object A .
kQ3SolidGeometryObjB
The CSG object B .
kQ3SolidGeometryObjC
The CSG object C .
kQ3SolidGeometryObjD
The CSG object D .
kQ3SolidGeometryObjE
The CSG object E .

© 1997 Apple Computer, Inc.

Previous | QD3D Book | Overview | Chapter Contents | Next |